[INFO] cloning repository https://github.com/moby04/rust-projekt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moby04/rust-projekt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoby04%2Frust-projekt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoby04%2Frust-projekt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5cbce35e22c684c068cbdd591ffc8a5f7259b838
[INFO] fixing moby04/rust-projekt against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoby04%2Frust-projekt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moby04/rust-projekt
[INFO] finished tweaking git repo https://github.com/moby04/rust-projekt
[INFO] tweaked toml for git repo https://github.com/moby04/rust-projekt written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moby04/rust-projekt on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moby04/rust-projekt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583
[INFO] running `Command { std: "docker" "start" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.28
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling instability v0.3.9
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking projekt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `projekt` (example "ai_demo") due to 1 previous error
[INFO] [stdout] error[E0432]: unresolved imports `projekt::snake::GreedyAgent`, `projekt::snake::SafeAgent`, `projekt::snake::SnakeAgent`, `projekt::snake::SnakeGame`
[INFO] [stdout]  --> examples/ai_demo.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use projekt::snake::{GreedyAgent, SafeAgent, SnakeAgent, SnakeGame};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^ no `SnakeGame` in `snake`
[INFO] [stdout]   |                      |            |          |
[INFO] [stdout]   |                      |            |          no `SnakeAgent` in `snake`
[INFO] [stdout]   |                      |            no `SafeAgent` in `snake`
[INFO] [stdout]   |                      no `GreedyAgent` in `snake`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           projekt::snake::agent::GreedyAgent
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           projekt::snake::agent::SafeAgent
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           projekt::snake::agent::SnakeAgent
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           projekt::snake::game::SnakeGame
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `projekt::snake::GameStats`, `projekt::snake::GreedyAgent`, `projekt::snake::SafeAgent`, `projekt::snake::SnakeAgent`, `projekt::snake::SnakeGame`
[INFO] [stdout]   --> examples/ai_visual.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | use projekt::snake::{GameStats, GreedyAgent, SafeAgent, SnakeAgent, SnakeGame};
[INFO] [stdout]    |                      ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^ no `SnakeGame` in `snake`
[INFO] [stdout]    |                      |          |            |          |
[INFO] [stdout]    |                      |          |            |          no `SnakeAgent` in `snake`
[INFO] [stdout]    |                      |          |            no `SafeAgent` in `snake`
[INFO] [stdout]    |                      |          no `GreedyAgent` in `snake`
[INFO] [stdout]    |                      no `GameStats` in `snake`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            projekt::snake::game::GameStats
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            projekt::snake::agent::GreedyAgent
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            projekt::snake::agent::SafeAgent
[INFO] [stdout]    = help: consider importing this trait instead:
[INFO] [stdout]            projekt::snake::agent::SnakeAgent
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            projekt::snake::game::SnakeGame
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `projekt` (example "ai_visual") due to 1 previous error
[INFO] [stdout] warning: methods `state`, `snake_length`, and `direction_to_target` are never used
[INFO] [stdout]    --> src/snake/game.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl SnakeGame {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn state(&self) -> GameState {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn snake_length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn direction_to_target(&self, target: (u16, u16)) -> Direction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `state`, `snake_length`, and `direction_to_target` are never used
[INFO] [stdout]    --> src/snake/game.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl SnakeGame {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn state(&self) -> GameState {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn snake_length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 322 |     pub fn direction_to_target(&self, target: (u16, u16)) -> Direction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583", kill_on_drop: false }`
[INFO] [stdout] 373cd723a7b6d6881b2274d60a7f432839fdba289e399f566d59307eb3afd583
